package com.edu.dao;

import com.edu.data.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommentMapper {
    int insert(Comment record);

    int insertSelective(Comment record);

    List<Comment> findBookById(@Param("id")Long id);

    void deleteBook(int id);

    void updateBook(Comment book);
}